package Thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class ThreadDemo14 {
    public static void main(String[] args) throws InterruptedException {
        Thread t = new Thread() {

        };
        System.out.println(t.getState());
        t.start();
        System.out.println(t.getState());
        t.join();
        System.out.println(t.getState());
    }
}
